<template>
	<navigatorComp title="关于我们" bgcColor="#121512" fontColor="#fff"></navigatorComp>

	<view class="about_us_box">
		<view class="about_us_top">
			<image src="/static/logo.png" mode=""></image>
			<view class="about_us_title">先贤祠墓纪念堂</view>
			<view class="about_us_version">版本号：1.0.1</view>
		</view>
		<view class="about_us_box_list">
			<view class="about_us_box_item">
				<view class="about_us_box_item_title display_flex">鼓励一下</view>
				<image src="http://112.124.50.179:8888/imgs/mine/arrow-right.png" mode=""></image>
			</view>
			<view class="about_us_box_item" @click="goUrl('/subPages/mine/setting/aboutUs_detail')">
				<view class="about_us_box_item_title display_flex">关于我们</view>
				<image src="http://112.124.50.179:8888/imgs/mine/arrow-right.png" mode=""></image>
			</view>
			<view class="about_us_box_item" @click="goUrl('/subPages/mine/setting/versionUpdate')">
				<view class="about_us_box_item_title display_flex">版本跟新</view>
				<image src="http://112.124.50.179:8888/imgs/mine/arrow-right.png" mode=""></image>
			</view>
		</view>
	</view>

	<view class="about_us_footer">备案号XXXXXXXXXXXX</view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref, reactive } from 'vue';
import navigatorComp from '/components/navigator/index.vue';

onLoad(() => {});

const goUrl = (url) => {
	uni.navigateTo({
		url: url
	});
};
</script>

<style lang="scss">
page {
	background-color: #121512;
	/* #ifdef H5 */
	padding-top: 0;
	/* #endif */
}

.about_us_box {
	margin: 24rpx 32rpx;
	background: #292b2a;
	border-radius: 8rpx;
	padding: 40rpx 32rpx 0 32rpx;

	.about_us_top {
		padding-bottom: 40rpx;
		border-bottom: 1rpx solid #333333;
		width: 100%;
		display: flex;
		align-items: center;
		flex-direction: column;
	}

	image {
		width: 120rpx;
		height: 120rpx;
		border-radius: 50%;
	}

	.about_us_title {
		font-weight: 500;
		font-size: 36rpx;
		color: #ffffff;
		line-height: 36rpx;
		letter-spacing: 1px;
		margin-top: 32rpx;
	}

	.about_us_version {
		font-weight: 400;
		font-size: 24rpx;
		color: #969da3;
		line-height: 24rpx;
		margin-top: 12rpx;
	}
}

.about_us_box_list {
	.about_us_box_item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 42rpx 0;
		border-bottom: 1rpx solid #333333;

		&:last-child {
			border-bottom: 0;
		}

		image {
			width: 40rpx;
			height: 40rpx;
			margin-top: 2rpx;
		}

		.about_us_box_item_title {
			font-weight: 400;
			font-size: 28rpx;
			color: #ffffff;
			line-height: 28rpx;
		}
	}
}

.about_us_footer {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 100rpx;
	font-weight: 400;
	font-size: 24rpx;
	color: #969DA3;
	line-height: 24rpx;
}
</style>
